﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AdminSite.Master" Inherits="System.Web.Mvc.ViewPage<HuynhQuangWebsite.Models.OnlineSupport>" %>


<asp:Content ID="Content2" ContentPlaceHolderID="TitleAreaPlaceHolder" runat="server">
    <div class="pageTitle">
        <h5>Quản lý các thông tin hỗ trợ</h5>
        <span>Trang quản lý Thông tin hỗ trợ online</span>
    </div>
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">

        <!-- Validation form -->
        <%using (Html.BeginForm("UpdateToOnlineSupport", "ManageOnlineSupport", new { id = Model.OSID }, FormMethod.Post, new { enctype = "multipart/form-data", @class = "form", id = "validate" }))
          { %>
            <fieldset>
                <div class="widget">
                    <div class="title"><img src="../../Images/adminSite/icons/dark/pencil.png" alt="" class="titleIcon" /><h6>Cấu hình Email để nhận Mail phản hồi của khách hàng-số điện thoại và thông tin hỗ trợ online </h6></div>
                    <div class="formRow">
                        <label>Điện thoại (Hot line):<span class="req">*</span></label>
                        <div class="formRight"><%:Html.TextBoxFor(model => model.OSPhone1, new { @class = "validate[required]", id = "req"})%></div>
                        <div class="clear"></div>
                    </div>
                     <div class="formRow">
                        <label>Điện thoai 1:<span class="req">*</span></label>
                        <div class="formRight"><%:Html.TextBoxFor(model => model.OSCellPhone1, new { @class = "validate[required]", id = "req"}) %></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Điện thoai 2:<span class="req">*</span></label>
                    <div class="formRight"><%:Html.TextBoxFor(model => model.OSPhone2, new { @class = "validate[required]", id = "req"})%></div>
                    <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Yahoo ID:<span class="req">*</span></label>
                    <div class="formRight"><%:Html.TextBoxFor(model => model.OSYahoo1, new { @class = "validate[required]", id = "req"})%></div>
                    <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Skype ID:<span class="req">*</span></label>
                    <div class="formRight"><%:Html.TextBoxFor(model => model.OSSkype1, new { @class = "validate[required]", id = "req"})%></div>
                    <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Email cấu hình gởi đi:<span class="req">*</span></label>
                    <div class="formRight"><%:Html.TextBoxFor(model => model.OSEmailFrom, new { @class = "validate[required]", id = "req" })%></div>
                    <div class="clear"></div>
                    </div>
                     <div class="formRow">
                        <label>Email Password:<span class="req">*</span></label>
                    <div class="formRight"><%:Html.PasswordFor(model => model.OSPwdEmailFrom, new { @class = "validate[required]", id = "req" })%></div>
                    <div class="clear"></div>
                    </div>

                    <div class="formRow">
                        <label>Email nhận:<span class="req">*</span></label>
                    <div class="formRight"><%:Html.TextBoxFor(model => model.OSEmailTo1, new { @class = "validate[required]", id = "req" })%></div>
                    <div class="clear"></div>
                    </div>
                     <div class="formRow">
                        <label>Email port:<span class="req">*</span></label>
                    <div class="formRight"><%:Html.TextBoxFor(model => model.OSPort, new { @class = "validate[required]", id = "req" })%></div>
                    <div class="clear"></div>
                    </div>

                     <div class="formRow">
                        <label>Email Host:<span class="req">*</span></label>
                    <div class="formRight"><%:Html.TextBoxFor(model => model.OSHost, new { @class = "validate[required]", id = "req" })%></div>
                    <div class="clear"></div>
                    </div>

                    <div class="formSubmit"><input type="submit" value="cập nhật" class="redB" /></div>
                    <div class="clear"></div>
                    <div><%:Html.HiddenFor(model => model.OSID) %></div>
                </div>
            </fieldset>
            
            <%} %>
</asp:Content>